Skip to content

fix: install generated manpages out of tree#955

Merged
tridge merged 1 commit into
RsyncProject:masterfrom
steadytao:fix-out-of-tree-manpage-install
Jun 4, 2026
Merged

fix: install generated manpages out of tree#955
tridge merged 1 commit into
RsyncProject:masterfrom
steadytao:fix-out-of-tree-manpage-install

Conversation

@steadytao
Copy link
Copy Markdown
Member

Fixes #846 by installing generated manpages from the source directory when they are not present in an out-of-tree build directory.

Release tarballs include pre-generated manpages. With an out-of-tree build configured using --disable-md2man, make install could install the binaries but skip the manpages because the install rule only checked the build directory.

This keeps the existing build-directory preference then falls back to $(srcdir) for rsync.1, rsync-ssl.1, rsyncd.conf.5 and the optional rrsync.1.

Tested with a v3.4.3 release tarball using:

  • ../configure --disable-md2man --with-rrsync
  • make
  • make install DESTDIR=...

Before this change, the install tree missed the generated manpages. After this change, rsync.1, rsync-ssl.1, rrsync.1 and rsyncd.conf.5 are installed.

@steadytao
Copy link
Copy Markdown
Member Author

NetBSD failure looks unrelated to this change. It fails during VM package setup before the rsync build/install path reaches the Makefile change whatsoever.

@tridge tridge force-pushed the fix-out-of-tree-manpage-install branch from 860fc16 to dba4aef Compare June 4, 2026 23:28
Copy link
Copy Markdown
Member

@tridge tridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@tridge tridge merged commit 0b08fa4 into RsyncProject:master Jun 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

manpages not installed in out-of-tree builds

2 participants